package com.bjsxt.userscenter.auth.pojo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 菜单的POJO
 * 
 * @author WangshSxt
 *
 */
public class AMenu implements Serializable
{
	private Integer id;
	private Integer parentId;
	private String name;
	private String url;
	private String content;
	private byte isLeafStatus;
	private byte status;
	private Date createTime;
	private Date updateTime;
	private Date pubTime ; 
	
	/* 关联对象 */
	private AMenu parentMenu ; 
	private List<AMenu> childrenMenuList = new ArrayList<AMenu>(); 

	public Integer getId()
	{
		return id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Integer getParentId()
	{
		return parentId;
	}

	public void setParentId(Integer parentId)
	{
		this.parentId = parentId;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getUrl()
	{
		return url;
	}

	public void setUrl(String url)
	{
		this.url = url;
	}

	public String getContent()
	{
		return content;
	}

	public void setContent(String content)
	{
		this.content = content;
	}

	public byte getIsLeafStatus()
	{
		return isLeafStatus;
	}

	public void setIsLeafStatus(byte isLeafStatus)
	{
		this.isLeafStatus = isLeafStatus;
	}

	public byte getStatus()
	{
		return status;
	}

	public void setStatus(byte status)
	{
		this.status = status;
	}

	public Date getCreateTime()
	{
		return createTime;
	}

	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}

	public Date getUpdateTime()
	{
		return updateTime;
	}

	public void setUpdateTime(Date updateTime)
	{
		this.updateTime = updateTime;
	}

	public Date getPubTime()
	{
		return pubTime;
	}

	public void setPubTime(Date pubTime)
	{
		this.pubTime = pubTime;
	}

	public AMenu getParentMenu()
	{
		return parentMenu;
	}

	public void setParentMenu(AMenu parentMenu)
	{
		this.parentMenu = parentMenu;
	}

	public List<AMenu> getChildrenMenuList()
	{
		return childrenMenuList;
	}

	public void setChildrenMenuList(List<AMenu> childrenMenuList)
	{
		this.childrenMenuList = childrenMenuList;
	}
}
